import _ from "lodash";
import { EnumProperty, IContainer } from "xcore/cmpnt";
var DataTable: IContainer = {
  cmpnt: "x-data-table",
  category: "containers",
  valueKey: "data-table",
  viewable: false,
  props: {
    border: false,
    stripe: true,
    allowMuitiSelection: true,
    showHeader: true,
    showPagination: true,

    size: "small",
    "empty-text": "暂无数据",
    style: {},
    class: [],
    options: [],
    listFields: [],
    detailFields: [],
    DbTable: { id: "" },
    toolBarGroup: {
      showToolBar: true,
      children: []
    },
    operationBarGroup: {
      showOperationBar: true,
      children: []

    },
    bind: {
      properties: [EnumProperty.Table, EnumProperty.Removed,
      EnumProperty.ColorTagConf, EnumProperty.FormatConf],
    },
  },
  slot: {},
  events: {},
  children: [],
  ctl: {
    icon: "iconfont te-i-form",
    name: "dataTable",
    group: "table",
    text: "数据表格",
  },
};
export { DataTable };
